<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of user_subjekt
 *
 * @author n1kolyan
 */
class user_subjekt extends CActiveRecord {

    public static function model($className=__CLASS__) {
        return parent::model($className);
    }

    public function tabelName() {
        return 'user_subjekt';
    }

    public function relations($param) {
        return array(
            'user' => array(self::BELONGS_TO, 'user', 'user_id'),
            
        );
    }

}
?>
